package com.example.springbootinit;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.example.springbootinit.mapper")//扫描mapper文件夹  包名写对
public class SpringBootInitApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootInitApplication.class, args);

    }
}
